package com.mark.service.impl;

import com.mark.entity.school.USubjectClassRelation;
import com.mark.mapper.USubjectClassRelationMapper;
import com.mark.service.USubjectClassRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (USubjectClassRelation)表服务实现类
 *
 * @author Deng PengFei
 * @since 2021-10-27 11:17:50
 */
@Service
public class USubjectClassRelationServiceImpl implements USubjectClassRelationService {
    @Autowired
    private USubjectClassRelationMapper uSubjectClassRelationMapper;



    /**
     * 通过班级Id查询教师列表数据
     *
     * @param claId 主键
     * @return 实例对象列表
     */
    @Override
    public List<USubjectClassRelation> getSubTeaListByClaId(Integer claId) {
        return this.uSubjectClassRelationMapper.getSubTeaListByClaId(claId);
    }
}